package com.yellowpage.alarm.service;

import java.util.List;
import java.util.Map;

import com.yellowpage.white.common.PageRender;
import com.yellowpage.white.exception.AlarmException;
import com.yellowpage.white.service.BaseService;

import com.yellowpage.alarm.data.AlarmInfo;

/**
 *  告警信息业务接口
 * @author leasass
 *
 */
public interface AlarmInfoService extends BaseService {  

    /* White generate Method */ 
    public AlarmInfo getAlarmInfo(Long id);
    public List<AlarmInfo> getAllAlarmInfo();
    public List<Map> queryAlarmInfoByPage(Map queryMap, PageRender pageRender);
    public void saveAlarmInfo(AlarmInfo alarmInfo);
	public void updateAlarmInfo(AlarmInfo alarmInfo);
	public void delete(List deleteList);
	
	/**
	 * 查询有效的告警信息
	 * @return
	 */
	public List<AlarmInfo>  getEffectiveAlarmInfos();
	
	/**
	 * 告警
	 * @param alarmInfo	告警信息
	 * @throws AlarmException
	 */
	public void alarm(AlarmInfo alarmInfo) throws AlarmException;


}
  

